<?php

declare(strict_types=1);

namespace Dreamcat\ApiDoc\Annotations;

use Attribute;

/**
 * 控制器标记
 * @author vijay
 */
#[Attribute(Attribute::TARGET_CLASS)]
class ControllerTag
{
    /**
     * @param string $tag 控制器的标签
     */
    public function __construct(private string $tag = "")
    {
    }

    /**
     * 控制器的标签
     * @return string
     */
    public function getTag(): string
    {
        return $this->tag;
    }
}

# end of file
